<?php
defined( 'SYSPATH' ) or die( 'No direct access allowed.' );
if(!Route::cache())
{


    //触发器同步数据的路由

    Route::set('triggertable','triggertable(/<action>(/<id>))')
        ->defaults(array(
            'controller' => 'triggertable',
            'action' => 'getdata',
        ));

    Route::set('triggerserver','triggerserver(/<action>(/<id>))')
        ->defaults(array(
            'controller' => 'triggerserver',
            'action' => 'syn',
        ));

    Route::set('triggerday','triggerday(/<action>(/<id>))')
        ->defaults(array(
            'controller' => 'triggerday',
            'action' => 'insertSkuQtyAndPrice',
        ));
}



